﻿@{
    var userFavouriteDistributors = ViewData.Model;

    <table>
    <thead>
        <h4>Favourite distributors</h4>
        <th>Name</th>
        <th>Address</th>
    </thead>
    @foreach (var userFavouriteDistributor in userFavouriteDistributors)
    {
        <tr>
            <td>@userFavouriteDistributor.Distributor.Name</td>
            <td>@userFavouriteDistributor.Distributor.Address</td>
        </tr>    
    }

    </table>
  }
